#pragma once

#include "CameraWindow.h"
#include "ClientButton.h"

#define		MAX_CHANNEL_COUNT	100

// CCameraWindowCtrl

class CCameraWindowCtrl : public CWnd
{
	DECLARE_DYNAMIC(CCameraWindowCtrl)

public:
	CCameraWindowCtrl();
	virtual ~CCameraWindowCtrl();

public:
	int				nChannelCnt;
	CCameraWindow	*CameraWindow[MAX_CHANNEL_COUNT];
	CCameraInfo		*pCameraInfo[MAX_CHANNEL_COUNT];

private:
	CClientButton *btnPrev, *btnNext;

	void OnBtnPrevChannelClick();
	void OnBtnNextChannelClick();

protected:
	DECLARE_MESSAGE_MAP()
public:
	afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
	virtual BOOL PreTranslateMessage(MSG* pMsg);
};


